//
//  BaseSafariViewController.h
//  Learn
//
//  Created by zyl_macbookpro on 2024/6/6.
//  Copyright © 2024 迟建国. All rights reserved.
//

#import "BaseViewController.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseSafariViewController : BaseViewController<WKUIDelegate,WKNavigationDelegate,WKScriptMessageHandler>

@property (nonatomic,strong) WKWebView *webView;

@property (strong, nonatomic) UIProgressView *progressView;

@property (assign, nonatomic) BOOL ingoreTitle;

- (void)reloadWebviewWithUrl:(NSString *)url;

- (void)wb_userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message;
@end

NS_ASSUME_NONNULL_END
